/*
 * Copyright (c)  2015~2020, xforceplus
 * All rights reserved.
 * Project:datacare-orm
 * Id: ResultSetExt.java   2020-10-10 14-21-10
 * Author: Evan
 */
package cn.datacare.orm.mapping;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: 2015~2020
 * </p>
 * <p>
 * Company/Department: xforceplus
 * </p>
 *
 * @author Evan
 * <b>Creation Time:</b> 2020-10-10 14-21-10
 * @since V1.0
 */
public interface ResultSetExt<T> {
    /**
     * 处理ResultSet，实现扩展
     * @param sqlId
     * @param rs
     * @param  clazz
     * @return T t
     * @throws SQLException
     */
    T handleResultSet(String sqlId, ResultSet rs, Class<?> clazz) throws SQLException;
}
